package com.resource.studentmanage.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@FeignClient("student-manage")
public interface StudentDealRemote {

    //处理新增作业记录
    @RequestMapping(value = "/student/tstudentwork/submitWork",method = RequestMethod.POST)
    public void dealStudentWork(@RequestParam Map<String, String> map);

    //批改作业反馈
    @RequestMapping(value = "/student/tstudentwork/submitfeedback",method = RequestMethod.POST)
    public void submitStudentWork(@RequestParam Map<String, String> map);
}
